import { gql } from '@apollo/client';

export const GET_USER = gql`
query {
  getUserInfo {
    tel,
    id,
    desc,
    name,
    avatar
  }
}
`;

export const UPDATE_USER = gql`
  mutation updateUserInfo($id:String!,$params:UserInput!) {
    updateUserInfo(id:$id,params:$params) {
      code
      message
    }
  }
`;
